package com.best.member.api;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.best.core.entity.CommonResult;
import com.best.member.output.dto.UserOutputDTO;

/**
 * @ClassName: MemberApi
 * @Package: com.best.member.api
 * @Description: 会员服务对外开放api接口
 * @Datetime: 2020/6/11 12:33
 * @Author: nike
 */
public interface MemberApi {
    /**
     * 根据手机号码查询是否已经存在,如果存在返回当前用户信息
     * 
     * @param mobile
     * @return
     */
    @PostMapping("/member/verifyMobile")
    CommonResult<UserOutputDTO> verifyMobile(@RequestParam("mobile") String mobile);
}
